package utils;

import bean.SolicitudCotizacion;
import com.thoughtworks.xstream.XStream;

public class SolicitudCotizacionConverter {
	private static XStream xs = new XStream();
	
	
	
	public static SolicitudCotizacion fromXmlToObject(String xml){
		return (SolicitudCotizacion)xs.fromXML(xml);
	}
	
	public static String fromObjectToXML(SolicitudCotizacion solicitud){
		return xs.toXML(solicitud);
	}
	
}

